package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.util.Date;

public class AdminLog implements Serializable {
    private Integer id;

    /**
     * 操作用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 操作用户名称
     *
     * @mbg.generated
     */
    private String userName;

    /**
     * 操作描述
     *
     * @mbg.generated
     */
    private String operDesc;

    /**
     * 请求ip
     *
     * @mbg.generated
     */
    private String operIp;

    /**
     * 操作版本号
     *
     * @mbg.generated
     */
    private String operVersion;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 操作模块
     *
     * @mbg.generated
     */
    private String operModule;

    /**
     * 操作类型
     *
     * @mbg.generated
     */
    private String operType;

    /**
     * 请求方法
     *
     * @mbg.generated
     */
    private String operMethod;

    /**
     * 请求URI
     *
     * @mbg.generated
     */
    private String operUri;

    /**
     * 请求参数
     *
     * @mbg.generated
     */
    private String operRequestParam;

    /**
     * 请求响应
     *
     * @mbg.generated
     */
    private String operResponseParam;

    /**
     * 所属业务系统
     */
    private String businessMsg;

    /**
     * 商品id
     */
    private Integer productId;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOperDesc() {
        return operDesc;
    }

    public void setOperDesc(String operDesc) {
        this.operDesc = operDesc;
    }

    public String getOperIp() {
        return operIp;
    }

    public void setOperIp(String operIp) {
        this.operIp = operIp;
    }

    public String getOperVersion() {
        return operVersion;
    }

    public void setOperVersion(String operVersion) {
        this.operVersion = operVersion;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOperModule() {
        return operModule;
    }

    public void setOperModule(String operModule) {
        this.operModule = operModule;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getOperMethod() {
        return operMethod;
    }

    public void setOperMethod(String operMethod) {
        this.operMethod = operMethod;
    }

    public String getOperUri() {
        return operUri;
    }

    public void setOperUri(String operUri) {
        this.operUri = operUri;
    }

    public String getOperRequestParam() {
        return operRequestParam;
    }

    public void setOperRequestParam(String operRequestParam) {
        this.operRequestParam = operRequestParam;
    }

    public String getOperResponseParam() {
        return operResponseParam;
    }

    public void setOperResponseParam(String operResponseParam) {
        this.operResponseParam = operResponseParam;
    }

    public String getBusinessMsg() {
        return businessMsg;
    }

    public void setBusinessMsg(String businessMsg) {
        this.businessMsg = businessMsg;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", userName=").append(userName);
        sb.append(", operDesc=").append(operDesc);
        sb.append(", operIp=").append(operIp);
        sb.append(", operVersion=").append(operVersion);
        sb.append(", createTime=").append(createTime);
        sb.append(", operModule=").append(operModule);
        sb.append(", operType=").append(operType);
        sb.append(", operMethod=").append(operMethod);
        sb.append(", operUri=").append(operUri);
        sb.append(", operRequestParam=").append(operRequestParam);
        sb.append(", operResponseParam=").append(operResponseParam);
        sb.append(", businessMsg=").append(businessMsg);
        sb.append(", productId=").append(productId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}